/**
 *  认证相关api
 **/
import { post,get } from "./../utils/NetUtil";

import { getID, getTOKEN } from "./../utils/StorageUtil";
import Config from "../Config";

export function preDoCard(params) {
  return get("/xgy_api/v1/oa_attend/pre_do_card", params);
}
export function dailyList(params) {
  return get("/xgy_api/v1/oa_attend/daily_list", params);
}
export function dailyDetail(params) {
  return get("/xgy_api/v1/oa_attend/daily_detail", params);
}
export function applyList(params) {
  return get("/xgy_api/v1/oa_attend/apply_list", params);
}
export function getDayRecord(params) {
  return get("/xgy_api/v1/oa_attend/get_day_record", params);
}
export function applyDetail(params) {
  return get("/xgy_api/v1/oa_attend/apply_detail", params);
}
export function attendParams(params) {
  return get("/xgy_api/v1/oa_attend/attend_params", params);
}
export function cancelApply(params) {
  return post("/xgy_api/v1/oa_attend/cancel_apply", params);
}
export function applySupplementCard(params) {
  return post("/xgy_api/v1/oa_attend/apply_supplement_card", params);
}
export function submitDaily(params) {
  return post("/xgy_api/v1/oa_attend/submit_daily", params);
}
export function applyLeave(params) {
  return post("/xgy_api/v1/oa_attend/apply_leave", params);
}
export function doCard(params) {
  return post("/xgy_api/v1/oa_attend/do_card", params);
}
export function getMonthRecord(params) {
  return get("/xgy_api/v1/oa_attend/get_month_record", params);
}
export function getClassNumInfo(params) {
  return get("/xgy_api/v1/oa_attend/get_class_num_info", params);
}